package com.hmall.mapper;

import com.hmall.model.SysDept;
import com.hmall.util.MyMapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.Date;
import java.util.List;
import java.util.Map;

@Repository
public interface SysDeptMapper extends MyMapper<SysDept> {
    String selectNameById(@Param("deptId") Integer deptId);

    List<Map<String,Object>> queryName(@Param("subName") String subName);

    SysDept selectCreateTimeByCustomerId(@Param("customerId") Integer customerId);
}